import request from 'umi-request';
import Cookies from 'js-cookie';

export const getUserGroupList = () => {
  return request(`/org/api/GroupRead/GetGroupPages`, {
    params: {
      token: Cookies.get('token'),
      dataFilter: 0,
      pageIndex: 1,
      pageSize: 9999,
    },
  });
};
